<?php
class Zend_View_Helper_ListError
{
    public function listError($data,$langdata)
    {
        $errList = explode(",", $data);
        foreach($errList as $err)
        {
            if(!empty($err))
                $strList.= "<span id='err'>".$langdata->_("$err")."</span><br>";
        }

        echo $strList;
    }
}
?>